/*! *********************************************************************************
 * \addtogroup BLE
 * @{
 ********************************************************************************** */
/*! *********************************************************************************
* Copyright 2015 Freescale Semiconductor, Inc.
* Copyright 2016-2021, 2023 NXP
*
*
* \file
*
* SPDX-License-Identifier: BSD-3-Clause
********************************************************************************** */

#ifndef BLE_HOST_TASK_CONFIG_H
#define BLE_HOST_TASK_CONFIG_H

/************************************************************************************
*************************************************************************************
* Includes
*************************************************************************************
************************************************************************************/
#include "fsl_os_abstraction.h"

/************************************************************************************
*************************************************************************************
* Public macros
*************************************************************************************
************************************************************************************/

/*
 * These values should be modified by the application as necessary.
 * They are used by the task initialization code from ble_host_tasks.c.
 */

#ifndef gHost_TaskStackSize_c
#define gHost_TaskStackSize_c       1500
#endif /* gHost_TaskStackSize_c */

#ifndef gHost_TaskPriority_c
#define gHost_TaskPriority_c        6
#endif /* gHost_TaskPriority_c */

/************************************************************************************
*************************************************************************************
* Public prototypes
*************************************************************************************
************************************************************************************/

#ifdef __cplusplus
extern "C" {
#endif

/*! *********************************************************************************
*\fn           osa_status_t Ble_HostTaskInit(void)
*\brief        Initializes the two tasks of the BLE Host Stack.
*
*\param  [in]  none.
*
*\return       osa_status_t    Initialization return status.
********************************************************************************** */
osa_status_t Ble_HostTaskInit(void);

/*! *********************************************************************************
*\fn           osa_status_t Ble_HostTaskDeInit(void)
*\brief        Destroys the BLE Host Stack tasks and its event.
*
*\param  [in]  none.
*
*\return       osa_status_t    Initialization return status.
********************************************************************************** */
osa_status_t Ble_HostTaskDeInit(void);

#ifdef __cplusplus
}
#endif

#endif /* BLE_HOST_TASK_CONFIG_H */

/*! *********************************************************************************
* @}
********************************************************************************** */
